import axios from 'axios'

let base = 'http://www.liulongbin.top:3005/api';


export const getlunbo = params => { return axios.get(`${base}/getlunbo`, params).then(res => res.data); };
export const getnewslist = params => { return axios.get(`${base}/getnewslist`, params).then(res => res.data); };
export const getnew = params => { return axios.get(`${base}/getnew/:${params.id}`, params).then(res => res.data); };
export const getcomments = params => { return axios.get(`${base}/getcomments/:artid?pageindex=1`, params).then(res => res.data); };
